package mywebapp.tools.jsf;

public class CSS
{
  protected static String nl;
  public static synchronized CSS create(String lineSeparator)
  {
    nl = lineSeparator;
    CSS result = new CSS();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "body {" + NL + " font-family:\"trebuchet ms\",sans-serif;" + NL + " font-size:90%;" + NL + " }" + NL + "form {" + NL + " background-color:#FAFAFA;" + NL + " padding:10px;" + NL + " width:280px;" + NL + " }" + NL + "fieldset {" + NL + " padding:0 20px 20px 20px;" + NL + " margin-bottom:10px;" + NL + " border:1px solid #DF3F3F;" + NL + " }" + NL + "legend {" + NL + " color:#DF3F3F;" + NL + " font-weight:bold" + NL + " }" + NL + "label {" + NL + " margin-top:10px;" + NL + " display:block;" + NL + " }" + NL + "label.inline {" + NL + " display:inline;" + NL + " margin-right:50px;" + NL + " }" + NL + "input, textarea, select, option {" + NL + " background-color:#FFF3F3;" + NL + " }" + NL + "input, textarea, select {" + NL + " padding:3px;" + NL + " border:1px solid #F5C5C5;" + NL + " border-radius:5px;" + NL + " width:200px;" + NL + " box-shadow:1px 1px 2px #C0C0C0 inset;" + NL + " }" + NL + "select {" + NL + " margin-top:10px;" + NL + " }" + NL + "input[type=radio] {" + NL + " background-color:transparent;" + NL + " border:none;" + NL + " width:10px;" + NL + " }" + NL + "input[type=submit], input[type=reset] {" + NL + " width:100px;" + NL + " margin-left:5px;" + NL + " box-shadow:1px 1px 1px #D83F3D;" + NL + " cursor:pointer;" + NL + " }";

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    return stringBuffer.toString();
  }
}
